package com.aop;

import org.apache.commons.lang3.StringUtils;

/**
 * 特殊应用配置常量
 */
public class RiskControlConstants {

    /**
     * 成功返回的值
     */
    public static final int SUCCESS = 0;

    public static final int AOP_BEFORE_RETURN_CODE = -1;

    /**
     * root
     */
    public static final String ROOT = "root";

    public static final String FORM_SYSTEM_TYPE = "input_c4f4d12e0296";
    public static final String FORM_BIZ_TYPE = "input_2f27415681ec";

    public static final String FORM_SYSTEM_TYPE_CMS = "input_b94a511927eb";

    public static final String FORM_BIZ_TYPE_CMS= "input_326de81e6a94";

    public static final String FORM_OPERATION_TYPE = "input_fc5b92db35da";
    public static final String FORM_OPERATION_TYPE_CMS = "input_72d5f1b35d52";

    /*****************************新审核平台  start*****************************/
    // 应用认领审核
    public static final String FORM_APP_CLAIM_AUDIT_APPLY_TIME = "input_7943245f2f3b";
    public static final String FORM_APP_CLAIM_AUDIT_PACKAGE_NAME = "input_cf6cac086485";
    public static final String FORM_APP_CLAIM_AUDIT_ID_CARD = "textarea_cb76a0be9906";
    public static final String FORM_APP_CLAIM_AUDIT_NAME = "input_4ba0e28428db";
    public static final String FORM_APP_CLAIM_AUDIT_DEV_APP_ID = "input_7db585339993";

    // 通用名单管理-添加
    public static final String FORM_APP_NAME_LIST_ADD_NAME = "input_f4de819253a5";
    public static final String FORM_APP_NAME_LIST_ADD_DESCRIPTION = "textarea_c1cb1ee53d15";
    public static final String FORM_APP_NAME_LIST_ADD_ITEMS = "textarea_5edf9da5b5f7";

    // 通用名单管理-删除
    public static final String FORM_APP_NAME_LIST_DELETE_NAME = "input_407262d2d68e";
    public static final String FORM_APP_NAME_LIST_DELETE_ITEMS = "textarea_347ae8de4478";

    // 应用认领
    public static final String FORM_APP_CLAIM_ACCOUNT = "input_abeb69c64d2d";
    public static final String FORM_APP_CLAIM_PACKAGE_NAME = "input_a1c786377939";
    public static final String FORM_APP_CLAIM_APK = "textarea_aa89cb2e81e6";
    public static final String FORM_APP_CLAIM_NAMESPACE = "input_0bb8c775dc3d";

    // 应用删除
    public static final String FORM_APP_DELETE_PACKAGE_NAME_LIST = "textarea_47b77d1e7491";

    // 渠道包批量删除
    public static final String FORM_APK_CHANNEL_BATCH_DELETE_PACKAGE_NAME = "input_cf6d87eb2e80";
    public static final String FORM_APK_CHANNEL_BATCH_DELETE_CHANNEL = "input_9949e2c80ad8";
    public static final String FORM_APK_CHANNEL_BATCH_DELETE_VERSION_CODE = "input_f2ede8c36c5d";
    public static final String FORM_APK_CHANNEL_BATCH_DELETE_APK_HASH = "input_be9398e1cadc";
    public static final String FORM_APK_CHANNEL_BATCH_DELETE_REMOVE_REASON = "textarea_1f10791cd786";

    // 应用状态
    public static final String FORM_APP_STATUS_APP_ID = "input_30e5498b77da";
    public static final String FORM_APP_STATUS_PACKAGE_NAME = "input_3054f082fd9d";
    public static final String FORM_APP_STATUS_APP_NAME = "input_ad2e5c856880";
    public static final String FORM_APP_STATUS_VERSION = "input_c78e02555e2f";
    public static final String FORM_APP_STATUS_DEVELOPER_ID = "input_965f6922b8fa";
    public static final String FORM_APP_STATUS_DEVELOPER_TYPE = "input_4ff86ecdd0c5";
    public static final String FORM_APP_STATUS_DEVELOPER_OFF_SHELF_AREA = "input_2f5fc65ac673";
    public static final String FORM_APP_STATUS_DEVELOPER_OFF_SHELF_REASON = "textarea_d4b0aa5fbafb";
    public static final String FORM_APP_STATUS_DEVELOPER_ON_SHELF_REASON = "textarea_e38bcca161a1";

    // 版本回滚
    public static final String FORM_APP_REVERT_PACKAGE_NAME = "input_9bf5bd8971bd";
    public static final String FORM_APP_REVERT_APP_NAME = "input_c21a2be606f2";
    public static final String FORM_APP_REVERT_PRE_VERSION_NAME = "input_84a36d2d35f4";
    public static final String FORM_APP_REVERT_ONLINE_VERSION_NAME = "input_29907fb33118";
    public static final String FORM_APP_REVERT_ONLINE_VERSION_PASSED_TIME = "input_f360b3a97486";
    public static final String FORM_APP_REVERT_APP_ID = "input_a0fca19b3b14";

    // 批量下架
    public static final String FORM_BATCH_OFF_SHELF_NEW_JSP_APP_ID = "input_c9387bfdd10c";
    public static final String FORM_BATCH_OFF_SHELF_NEW_JSP_APP_NAME = "input_14a05c97c4c4";
    public static final String FORM_BATCH_OFF_SHELF_NEW_JSP_PACKAGE_NAME = "input_30e01495ef5a";
    public static final String FORM_BATCH_OFF_SHELF_NEW_JSP_IS_AD = "input_565abdfe4bd7";
    public static final String FORM_BATCH_OFF_SHELF_NEW_JSP_APP_STATUS = "input_763fb0fc3379";
    public static final String FORM_BATCH_OFF_SHELF_NEW_JSP_AREA = "input_b169399febc8";
    public static final String FORM_BATCH_OFF_SHELF_NEW_JSP_BLACK_REASON = "textarea_6c7e8beadb74";
    public static final String FORM_BATCH_OFF_SHELF_NEW_JSP_BLACK_DURING = "input_55d240eb7065";
    public static final String FORM_BATCH_OFF_SHELF_NEW_JSP_REMARK = "textarea_3440e5dbbfd8";

    // 开发者删除
    public static final String FORM_DEVELOPER_DELETE_DEVELOPER_ID = "input_683fb8a84edf";
    public static final String FORM_DEVELOPER_DELETE_DEVELOPER_NAME = "input_84779a91375d";

    // 开发者黑名单-移除
    public static final String FORM_DEVELOPER_BLACKLIST_REMOVE_TABLE_ID = "formTable_8ef31c3df822";
    public static final String FORM_DEVELOPER_BLACKLIST_REMOVE_DEVELOPER_ID = "input_1722435166130";
    public static final String FORM_DEVELOPER_BLACKLIST_REMOVE_DEVELOPER_TYPE = "input_1722435168929";
    public static final String FORM_DEVELOPER_BLACKLIST_REMOVE_DEVELOPER_NAME = "input_1722435170952";
    public static final String FORM_DEVELOPER_BLACKLIST_REMOVE_HIS_BLACK_COUNT = "input_1722435175824";
    public static final String FORM_DEVELOPER_BLACKLIST_REMOVE_APP_COUNT = "input_1722435173208";
    public static final String FORM_DEVELOPER_BLACKLIST_REMOVE_TOTAL_REJECT_COUNT = "input_1722435358857";
    public static final String FORM_DEVELOPER_BLACKLIST_REMOVE_BLACK_REASON = "textarea_1722446169736";
    public static final String FORM_DEVELOPER_BLACKLIST_REMOVE_BLACK_DURING = "input_1722435362491";
    public static final String FORM_DEVELOPER_BLACKLIST_REMOVE_BLACK_TIME = "input_1722435406705";

    // 开发者黑名单-添加
    public static final String FORM_DEVELOPER_BLACKLIST_ADD_DEVELOPER_ID = "input_971965f7c487";
    public static final String FORM_DEVELOPER_BLACKLIST_ADD_DEVELOPER_NAME = "input_dd8d61b20ab0";
    public static final String FORM_DEVELOPER_BLACKLIST_ADD_HIS_BLACK_COUNT = "input_5002eed5a4f3";
    public static final String FORM_DEVELOPER_BLACKLIST_ADD_APP_COUNT = "input_4b724e4d3e53";
    public static final String FORM_DEVELOPER_BLACKLIST_ADD_TOTAL_REJECT_COUNT = "input_38d42d8b0e73";
    public static final String FORM_DEVELOPER_BLACKLIST_ADD_ON_SHELF_COUNT = "input_7514945e0969";
    public static final String FORM_DEVELOPER_BLACKLIST_ADD_BLACK_REASON = "textarea_52faab8f5c29";
    public static final String FORM_DEVELOPER_BLACKLIST_ADD_LATEST_BLACK_REASON = "textarea_4588a6febf7d";
    public static final String FORM_DEVELOPER_BLACKLIST_ADD_BLACK_DURING = "input_d51244019df2";
    public static final String FORM_DEVELOPER_BLACKLIST_ADD_REMARK = "textarea_48dce3345e2c";


    /*****************************新审核平台  end*****************************/


    public static final String FORM_DEVELOPER_EMAIL_RANGE = "textarea_9c0405e52732";
    public static final String FORM_DEVELOPER_EMAIL_TITLE = "input_c9e6bfc74d65";
    public static final String FORM_DEVELOPER_EMAIL_CONTENT = "textarea_0aaee10e70c0";


    /*****************************文档站后台高危动作  start*****************************/
    // 文档中心文档发布 文档标题、可见范围、文档链接
    public static final String ARTICLE_TITLE = "input_f82a4853331c";
    public static final String ARTICLE_VISIBLE_RANGE = "textarea_9f1443661506";
    public static final String ARTICLE_LINK = "textarea_99dfe8360d53";

    // 文档中心文档删除 文档标题、可见范围、文档链接
    public static final String ARTICLE_TITLE_DELETE = "input_9d2b2fc48559";
    public static final String ARTICLE_VISIBLE_RANGE_DELETE = "textarea_f4f76792bd99";
    public static final String ARTICLE_LINK_DELETE = "textarea_0e3d7befca88";

    // 弹窗类型、弹窗时效、开发者公告 公告标题、公告介绍、是否置顶
    public static final String ANNOUNCEMENT_TYPE = "input_3dc683557405";
    public static final String ANNOUNCEMENT_PRESCRIPTION = "input_2203c7cfb413";
    public static final String ANNOUNCEMENT_TITLE = "input_29fe0cccf0bc";
    public static final String ANNOUNCEMENT_INTRODUCTION = "textarea_60994cd0686c";
    public static final String ANNOUNCEMENT_IS_TOP = "input_fb942b1e9a06";

    // 发送开发者邮件 发送范围、邮件标题、邮件内容、发送时间
    public static final String DEVELOPER_EMAIL_RANGE = "textarea_9c0405e52732";
    public static final String DEVELOPER_EMAIL_TITLE = "input_c9e6bfc74d65";
    public static final String DEVELOPER_EMAIL_CONTENT = "textarea_0aaee10e70c0";

    public static final String DEVELOPER_EMAIL_SEND_TIME = "input_8636c9bd33e4";

    // 协议管理 版本名称、文档内容、版本变更、协议PDF链接
    public static final String AGREEMENT_VERSION_NAME = "input_8537aeb59b35";
    public static final String AGREEMENT_DOCUMENT_CONTENT = "textarea_6d244a391bf6";
    public static final String AGREEMENT_DOCUMENT_CHANGE_REASON = "input_3d784b0a4a2d";
    public static final String AGREEMENT_DOCUMENT_PDF_LINK = "textarea_e680e3bb4191";

    // XMSF保活配置-媒体白名单 媒体包名、媒体名称、开始时间、结束时间
    public static final String XMSF_PKG_WHITE_LIST_PKG_NAME = "input_8d5656fe8e9f";
    public static final String XMSF_PKG_WHITE_LIST_PKG_NAME_DESC = "input_797cbe916891";
    public static final String XMSF_PKG_WHITE_LIST_PKG_NAME_START_TIME = "input_d1908cd07124";
    public static final String XMSF_PKG_WHITE_LIST_PKG_NAME_END_TIME = "input_8273246b506e";

    // XMSF保活机型条件配置 最低可用运行内存占比、最低电量、最高电池温度、始终保持保活、机型黑名单、机型白名单
    public static final String XMSF_CONDITION_CONFIG_MIN_AVAILABLE_MEMORY_RATIO = "input_ce963f941590";
    public static final String XMSF_CONDITION_CONFIG_MIN_BATTERY_LEVEL = "input_3dfcf2aef1c7";
    public static final String XMSF_CONDITION_CONFIG_MAX_BATTERY_TEMPERATURE = "input_3dcf29ab1729";
    public static final String XMSF_CONDITION_CONFIG_ALWAYS_KEEP_ALIVE = "input_049664c22ed7";
    public static final String XMSF_CONDITION_CONFIG_BLACK_LIST = "input_df5580e9cad7";
    public static final String XMSF_CONDITION_CONFIG_WHITE_LIST = "input_e9f44b2ea835";

    // XMSF宿主配置-更新配置 插件名称、插件版本号、灰度比例、盐值、灰度白名单
    public static final String XMSF_UPDATE_CONFIG_PLUGIN_NAME = "input_be47e4843d40";
    public static final String XMSF_UPDATE_CONFIG_PLUGIN_VERSION = "input_1e674367c0ba";
    public static final String XMSF_UPDATE_CONFIG_GRAY_RATIO = "input_09c32e434b71";
    public static final String XMSF_UPDATE_CONFIG_SALT = "input_86cff0bf903c";
    public static final String XMSF_UPDATE_CONFIG_GRAY_WHITE_LIST = "input_0f479ce3a6d7";

    // XMSF宿主配置-全量 插件名称、插件版本号、全量理由
    public static final String XMSF_FULL_CONFIG_PLUGIN_NAME = "input_3deddab61f70";
    public static final String XMSF_FULL_CONFIG_PLUGIN_VERSION = "input_7b0ca8bd0deb";
    public static final String XMSF_FULL_CONFIG_FULL_REASON = "textarea_b3b0123fb238";

    // 分类管理 三级分类、关联旧分类、是否研判完毕、生效/失效理由
    public static final String CATEGORY_MANAGEMENT_THREE_LEVEL_CATEGORY = "input_0ee96b1c26bf";
    public static final String CATEGORY_MANAGEMENT_RELATED_OLD_CATEGORY = "input_3956c74fbe4e";
    public static final String CATEGORY_MANAGEMENT_IS_JUDGMENT_COMPLETE = "input_d38408e152e2";
    public static final String CATEGORY_MANAGEMENT_EFFECTIVE_INVALID_REASON = "textarea_518cf7903409";

    // 应用标签管理 功能标签名称、功能标签描述、生效/失效理由
    public static final String TAG_MANAGEMENT_FUNCTION_TAG_NAME = "input_7a9a0422db26";
    public static final String TAG_MANAGEMENT_FUNCTION_TAG_DESC = "textarea_699b33a84864";
    public static final String TAG_MANAGEMENT_EFFECTIVE_INVALID_REASON = "textarea_623c3d2a4061";

    // 资质治理 资质名称、提示语、示例附件、资质类型、生效/失效理由
    public static final String QUALIFICATION_GOVERNANCE_QUALIFICATION_NAME = "input_b142bc1ae6cf";
    public static final String QUALIFICATION_GOVERNANCE_TIP_WORD = "input_fe18f352deaa";
    public static final String QUALIFICATION_GOVERNANCE_EXAMPLE_ATTACHMENT = "textarea_dd34faa64593";
    public static final String QUALIFICATION_GOVERNANCE_QUALIFICATION_TYPE = "input_e4145dadcf1c";
    public static final String QUALIFICATION_GOVERNANCE_EFFECTIVE_INVALID_REASON = "textarea_4850fc2fc8f6";

    // 隐私政策协议 版本名称、文档内容、版本变更、协议PDF链接
    public static final String PRIVACY_POLICY_VERSION_NAME = "input_88b4f09ca19a";
    public static final String PRIVACY_POLICY_DOCUMENT_CONTENT = "textarea_2ba6e229cd55";
    public static final String PRIVACY_POLICY_DOCUMENT_CHANGE_REASON = "input_c70dc31dcbab";
    public static final String PRIVACY_POLICY_DOCUMENT_PDF_LINK = "textarea_47746e5b9242";


    /*****************************新CMS后台高危动作  start*****************************/
    // 开发者管理 开发者ID、公司名称、公司注册名称
    public static final String DEVELOPER_ID = "input_6b45e00fa824";
    public static final String COMPANY_NAME = "input_efa400c53624";
    public static final String COMPANY_REGISTER_NAME = "input_7107ddc7bd8e";

    // 虚拟开发者 虚拟开发者名称、聚合开发者ID
    public static final String VIRTUAL_DEVELOPER_NAME = "input_6bd7493c1764";
    public static final String AGGREGATION_DEVELOPER_ID = "input_4744780c0518";

    // 开发者删除 开发者ID、开发者名称
    public static final String DEVELOPER_ID_DELETE = "input_f5a6bfdc9970";
    public static final String DEVELOPER_NAME_DELETE = "input_40885cd76039";

    // 添加非企业邮箱 邮箱后缀
    public static final String NON_ENTERPRISE_MAILBOX = "input_572882b0d8f3";

    // 移除开发者黑名单- 开发者ID、开发者类型、开发者名称、APP个数、历史拉黑次数、累计驳回次数、拉黑原因、拉黑时长、拉黑时间
    public static final String DEVELOPER_ID_REMOVE = "input_2c86d10a22cf";
    public static final String DEVELOPER_TYPE = "input_d34889042f09";
    public static final String DEVELOPER_NAME_REMOVE = "input_c5ce66df210c";
    public static final String HISTORY_BLACK_COUNT = "input_6bbfe63eed45";
    public static final String TOTAL_REJECT_COUNT = "input_20954032a90e";
    public static final String BLACK_REASON = "input_af81925efa09";
    public static final String BLACK_DURATION = "input_c1c53be78318";
    public static final String BLACK_TIME = "input_4e16d8b049f4";

    // 添加开发者黑名单 开发者ID、开发者名称、历史拉黑次数、累计驳回次数、名下应用数量、上架应用数量、拉黑时长、最近一次拉黑原因、拉黑原因
    public static final String DEVELOPER_ID_ADD = "input_92d1c718dc78";
    public static final String DEVELOPER_NAME_ADD = "input_e25e0438b69f";
    public static final String HISTORY_BLACK_COUNT_ADD = "input_12adb8db0492";
    public static final String TOTAL_REJECT_COUNT_ADD = "input_f582fc3b402f";
    public static final String APP_COUNT_ADD = "input_4e72ab99b765";
    public static final String ON_SHELF_APP_COUNT_ADD = "input_1988a1d27442";
    public static final String BLACK_DURATION_ADD = "input_2c112504e9ff";
    public static final String LAST_BLACK_REASON_ADD = "input_db0e08c05002";
    public static final String BLACK_REASON_ADD = "input_74273d47813b";

    // 批量发送邮件 发件人邮箱、邮件主题、邮件内容、收件人信息
    public static final String SEND_EMAIL_SENDER_EMAIL = "input_779c5f8040b8";
    public static final String SEND_EMAIL_SUBJECT = "input_9a53919925dd";
    public static final String SEND_EMAIL_CONTENT = "textarea_82bab65afe6e";
    public static final String SEND_EMAIL_RECEIVER_INFO = "textarea_be0387bb5cb5";

    // 预约游戏下架申请审核-通过 应用名称、应用ID、包名
    public static final String APPOINTMENT_GAME_OFF_SHELVE_APP_NAME = "input_2f26331822d1";

    public static final String APPOINTMENT_GAME_OFF_SHELVE_APP_ID = "input_013109250802";
    public static final String APPOINTMENT_GAME_OFF_SHELVE_PACKAGE_NAME = "input_9665669ca6eb";

    // 预约游戏下架申请审核-驳回 应用名称、应用ID、包名、驳回原因
    public static final String APPOINTMENT_GAME_OFF_SHELVE_APP_NAME_REJECT = "input_4ba1840a4acd";
    public static final String APPOINTMENT_GAME_OFF_SHELVE_APP_ID_REJECT = "input_2315c7724e88";
    public static final String APPOINTMENT_GAME_OFF_SHELVE_PACKAGE_NAME_REJECT = "input_12518d594951";
    public static final String APPOINTMENT_GAME_OFF_SHELVE_REASON_DESC = "textarea_1381e67a9425";

    // 通用名单项管理 名单项, 原因描述
    public static final String COMMON_NAME_LIST_ITEM = "textarea_779632e0edf1";
    public static final String COMMON_NAME_LIST_REASON_DESC = "textarea_25540592a8b6";

    // 应用批量下架 应用名称、应用ID、包名、拉黑开发者
    public static final String APP_BATCH_OFF_SHELVE_APP_NAME = "input_3fcb3ef8d22f";
    public static final String APP_BATCH_OFF_SHELVE_APP_ID = "input_d9abe2719799";
    public static final String APP_BATCH_OFF_SHELVE_PACKAGE_NAME = "input_f0b3860fd8af";
    public static final String APP_BATCH_OFF_SHELVE_DEVELOPER_ID = "input_09916c7697a3";

    // 未发布应用认领 登录邮箱（应用会被认领到该账户）、包名、应用ID、选择空间。
    public static final String UN_PUBLISH_LOGIN_EMAIL = "input_62308cb63946";
    public static final String UN_PUBLISH_PACKAGE_NAME = "input_8d83208bcaed";
    public static final String UN_PUBLISH_APP_ID = "input_93b1afb3640b";
    public static final String UN_PUBLISH_SPACE = "input_44bb883d3f4a";

    // 版本回滚 app ID、包名、选择空间
    public static final String VERSION_ROLLBACK_APP_ID = "input_e2444f47fc5d";
    public static final String VERSION_ROLLBACK_PACKAGE_NAME = "input_60a3ad8ff342";
    public static final String VERSION_ROLLBACK_SPACE = "input_63949300f921";

    // 应用认领 登陆账号、包名、签名APK、选择空间
    public static final String APP_CLAIM_LOGIN_ACCOUNT = "input_daf5a19b79db";
    public static final String APP_CLAIM_PACKAGE_NAME = "input_dd08a0136c48";
    public static final String APP_CLAIM_SIGN_APK = "textarea_6fe092bacccc";
    public static final String APP_CLAIM_SPACE = "input_dc18c479f157";

    // 认领替换 登陆邮箱、待替换APK、选择空间
    public static final String APP_CLAIM_REPLACE_LOGIN_EMAIL = "input_46d8066dffc8";
    public static final String APP_CLAIM_REPLACE_APK = "textarea_a10cb6e8ca1f";
    public static final String APP_CLAIM_REPLACE_SPACE = "input_7e212832611b";

    // 应用替包 应用包名、待替换APK、选择空间
    public static final String APP_REPLACE_PACKAGE_NAME = "input_7c99bc673481";
    public static final String APP_REPLACE_APK = "textarea_ba2023e1d7c3";
    public static final String APP_REPLACE_SPACE = "input_6bd01d55b22a";

    // 应用授权新增 包名清单
    public static final String APP_SPECIAL_PACKAGE_NAME_LIST_ADD = "textarea_64a29a7858c7";

    // 应用打标签-创建 标签名称类型、应用数量
    public static final String APP_TAG_NAME = "input_0238efbad31e";

    // 应用打标签-合并 被合并标签名称、合并至标签名称
    public static final String APP_TAG_MERGE_NAME = "input_a9e3cf3ec062";
    public static final String APP_TAG_MERGE_TO_NAME = "input_da58d8e58acc";

    // 应用打标签-重命名 标签名称、新标签名称
    public static final String APP_TAG_RENAME_NAME = "input_dd1e1772b0c2";
    public static final String APP_TAG_RENAME_NEW_NAME = "input_5d63e2476156";

    // 应用打标签-删除 标签名称、合并至标签名称
    public static final String APP_TAG_DELETE_NAME = "input_c6d1b52e71e2";
    public static final String APP_TAG_DELETE_APP_COUNT = "input_335c6bc1ba31";

    // 应用下架 应用名称、应用ID、包名
    public static final String APP_OFF_SHELVE_APP_NAME = "input_85387de81174";
    public static final String APP_OFF_SHELVE_APP_ID = "input_5479da20858c";
    public static final String APP_OFF_SHELVE_PACKAGE_NAME = "input_1f67f6aaa00e";

    // 应用重新上架 应用名称、应用ID、包名
    public static final String APP_RE_SHELVE_APP_NAME = "input_d542288d70aa";
    public static final String APP_RE_SHELVE_APP_ID = "input_18fd8fd1a939";
    public static final String APP_RE_SHELVE_PACKAGE_NAME = "input_282f1d3e168b";

    // 应用推荐黑名单-应用授权删除 应用ID 应用名称 应用包名
    public static final String BLACK_LIST_APP_ID_DELETE = "input_60a48d43d341";
    public static final String BLACK_LIST_APP_NAME_DELETE = "input_632440fc6ade";
    public static final String BLACK_LIST_PACKAGE_NAME_DELETE = "textarea_684b41a270eb";

   // 应用删除 应用包名、空间
    public static final String APP_DELETE_PACKAGE_NAME = "input_0a8f3100e8af";
    public static final String APP_DELETE_SPACE = "input_f2a29f9acae1";


    // 应用推荐黑名单 包名清单
    public static final String BLACK_LIST_PACKAGE_NAME_LIST = "textarea_024f779d396c";

    // 应用授权-应用授权删除 应用ID、应用名称、包名清单
    public static final String APP_SPECIAL_APP_ID_DELETE = "input_1298696e4c6b";
    public static final String APP_SPECIAL_APP_NAME_DELETE = "input_e82feb92be08";
    public static final String APP_SPECIAL_PACKAGE_NAME_DELETE = "textarea_e14fcb17f072";

    // 应用审核标签新增 审批内容：标签名称、标签类型、标签简介
    public static final String APP_AUDIT_TAG_NAME_ADD = "input_e0be628c68c7";
    public static final String APP_AUDIT_TAG_TYPE_ADD = "input_6620f642e632";
    public static final String APP_AUDIT_TAG_INTRODUCTION_ADD = "textarea_b5609013957c";

    // 应用审核标签编辑 标签筛选、应用包名
    public static final String APP_AUDIT_TAG_NAME_EDIT = "input_8d4baa04cea2";
    public static final String APP_AUDIT_TAG_PACKAGE_NAME_EDIT = "input_0cfea1d7cee0";

    // 应用审核标签重命名 原标签名称、新标签名称
    public static final String APP_AUDIT_TAG__OLD_NAME_RENAME = "input_29241bc3a4d8";
    public static final String APP_AUDIT_TAG_NEW_NAME_RENAME = "input_5fbc2b796d1f";


    /**
     * 系统类别
     */
    public enum SystemType {
        NEW_AUDIT_PLATFORM(1, "新审核平台", "bpmn_1025199350263296000"),
        NEW_AUDIT_PLATFORM_JSP(2, "新审核平台", "bpmn_1025199350263296000"),
        DOCUMENTATION(3, "文档站", "bpmn_1024786985797025792"),
        NEW_CMS_PLATFORM(4, "新CMS平台", "bpmn_1024793499572109312"),
        ;
        private final int code;
        private final String message;
        private final String modelCode;

        SystemType(int code, String message, String modelCode) {
            this.code = code;
            this.message = message;
            this.modelCode = modelCode;
        }

        public static SystemType fromCode(int code) {
            for (SystemType type : SystemType.values()) {
                if (code == type.code) {
                    return type;
                }
            }
            return null;
        }

        public int getCode() {
            return code;
        }

        public String getMessage() {
            return message;
        }

        public String getModelCode() {
            return modelCode;
        }
    }

    /**
     * 业务类型
     */
    public enum BizType {
        APP_CLAIM_AUDIT("appClaimAudit", "应用认领审核", SystemType.NEW_AUDIT_PLATFORM_JSP),
        APP_NAME_LIST_ADD("appNameListAdd", "添加名单项", SystemType.NEW_AUDIT_PLATFORM_JSP),
        APP_NAME_LIST_DELETE("appNameListDelete", "删除名单项", SystemType.NEW_AUDIT_PLATFORM_JSP),
        APP_CLAIM("appClaim", "应用认领", SystemType.NEW_AUDIT_PLATFORM_JSP),
        APP_DELETE_NEW_JSP("appDeleteNewJsp", "应用删除", SystemType.NEW_AUDIT_PLATFORM_JSP),
        APP_REVERT_NEW_JSP("appRevertNewJsp", "应用版本回滚", SystemType.NEW_AUDIT_PLATFORM_JSP),
        APP_STATUS_ON_SHELF("appStatusOnShelf", "应用状态-上架", SystemType.NEW_AUDIT_PLATFORM_JSP),
        APP_STATUS_OFF_SHELF("appStatusOffShelf", "应用状态-下架", SystemType.NEW_AUDIT_PLATFORM_JSP),
        DEVELOPER_DELETE("developerDelete", "开发者删除", SystemType.NEW_AUDIT_PLATFORM_JSP),
        DEVELOPER_BLACKLIST_REMOVE("developerBlacklistRemove", "移除开发者黑名单", SystemType.NEW_AUDIT_PLATFORM_JSP),
        DEVELOPER_BLACKLIST_ADD("developerBlacklistAdd", "添加开发者黑名单", SystemType.NEW_AUDIT_PLATFORM_JSP),
        APK_CHANNEL_BATCH_DELETE("apkChannelBatchDelete", "渠道包批量删除", SystemType.NEW_AUDIT_PLATFORM),
        BATCH_OFF_SHELF_NEW_JSP("batchOffShelfNewJsp", "批量下架", SystemType.NEW_AUDIT_PLATFORM_JSP),

        /**
         * 文档站部分的bizType定义
         */
        ARTICLE("article", "文档管理", SystemType.DOCUMENTATION),
        ANNOUNCEMENT("announcement", "开发者公告", SystemType.DOCUMENTATION),
        DEVELOPER_EMAIL("developerEmail", "开发者邮件", SystemType.DOCUMENTATION),
        APP_RELEASE_AGREEMENT("appReleaseAgreement", "应用发布协议", SystemType.DOCUMENTATION),
        PRIVACY_AGREEMENT("privacyAgreement", "隐私政策协议", SystemType.DOCUMENTATION),
        XMSF_PKG_WHITE_LIST("xmsfPkgWhiteList", "XMSF保活媒体白名单配置", SystemType.DOCUMENTATION),
        XMSF_DEVICE_CONDITION("xmsfDeviceCondition", "XMSF保活机型条件配置", SystemType.DOCUMENTATION),
        XMSF_HOST_PLUGIN("xmsfHostPlugin", "XMSF宿主插件配置", SystemType.DOCUMENTATION),
        CATEGORY_GOVERNANCE("categoryGovernance", "分类治理", SystemType.DOCUMENTATION),
        TAG_GOVERNANCE("tagGovernance", "标签治理", SystemType.DOCUMENTATION),
        QUALIFICATION_GOVERNANCE("qualificationManagement", "资质治理", SystemType.DOCUMENTATION),

        /**
         * 新CMS后台部分的bizType定义
         */
        DEVELOPER("developer", "开发者管理", SystemType.NEW_CMS_PLATFORM),
        DEVELOPER_TYPE("developerType", "开发者类型管理", SystemType.NEW_CMS_PLATFORM),
        VIRTUAL_DEVELOPER("virtualDeveloper", "虚拟开发者", SystemType.NEW_CMS_PLATFORM),

        DEVELOPER_DEL("developerDel", "开发者删除", SystemType.NEW_CMS_PLATFORM),
        DEVELOPER_BLACK_LIST("developerBlackList", "开发者黑名单", SystemType.NEW_CMS_PLATFORM),
        NON_ENTERPRISE_MAILBOX_DOMAIN("nonEnterpriseMailboxDomain", "非企业邮箱后缀", SystemType.NEW_CMS_PLATFORM),
        SEND_EMAIL("sendEmail", "发送邮件", SystemType.NEW_CMS_PLATFORM),
        OFFLINE_GAME_AUDIT("offlineGameAudit", "游戏下架申请审核", SystemType.NEW_CMS_PLATFORM),
        COMMON_NAME_LIST("commonNameList", "通用名单项管理", SystemType.NEW_CMS_PLATFORM),
        APP_BATCH_OFF_SHELF("appBatchOffShelf", "应用批量下架", SystemType.NEW_CMS_PLATFORM),
        APP_OFF_SHELF("appOffShelf", "应用下架", SystemType.NEW_CMS_PLATFORM),
        APP_RE_SHELF("appReShelf", "应用重新上架", SystemType.NEW_CMS_PLATFORM),
        APP_DELETE("appDelete", "应用删除", SystemType.NEW_CMS_PLATFORM),
        APP_CLAIM_NEW("appClaimNew", "应用认领(新)", SystemType.NEW_CMS_PLATFORM),
        UNPUBLISH_APP_CLAIM_NEW("unpublishAppClaimNew", "未发布应用认领(新)", SystemType.NEW_CMS_PLATFORM),
        APP_CLAIM_REPLACE("appClaimReplace", "应用认领并替换", SystemType.NEW_CMS_PLATFORM),
        APP_REPLACE_APK("appReplaceApk", "应用替包", SystemType.NEW_CMS_PLATFORM),
        APP_SPECIAL_AUTH("appSpecialAuth", "应用授权管理", SystemType.NEW_CMS_PLATFORM),
        APP_REVERT("appRevert", "应用版本回滚", SystemType.NEW_CMS_PLATFORM),
        APP_RECOMMEND_BLACK_LIST("appRecommendBlackList", "应用推荐黑名单", SystemType.NEW_CMS_PLATFORM),
        APP_TAG("appTag", "应用标签管理", SystemType.NEW_CMS_PLATFORM),
        APP_AUDIT_TAG("appAuditTag", "应用审核标签管理", SystemType.NEW_CMS_PLATFORM),

        ;
        public final String code;
        public final String message;
        public final SystemType systemType;

        BizType(String code, String message, SystemType systemType) {
            this.code = code;
            this.message = message;
            this.systemType = systemType;
        }

        public static BizType fromCode(String code) {
            for (BizType type : BizType.values()) {
                if (StringUtils.equals(code, type.code)) {
                    return type;
                }
            }
            return null;
        }

        public String getCode() {
            return code;
        }

        public String getMessage() {
            return message;
        }

        public SystemType getSystemType() {
            return systemType;
        }
    }

    /**
     * 操作类型
     */
    public enum OperateType {
        /**
         * 当业务不需要区分操作类型时，默认填COMMON
         */
        COMMON(0, "通用操作"),
        ADD(1, "新增"),
        UPDATE(2, "修改"),
        DELETE(3, "删除"),
        SAVE(4, "保存"),
        ONLINE(5, "上线"),
        OFFLINE(6, "下线"),
        CHANGE_STATUS(7, "状态更新"),
        COMBINE(8, "合并"),
        RENAME(9, "重命名"),
        APPROVE(10, "审批通过"),
        REJECT(11, "审批驳回"),
        FULL_RELEASE(12, "全量"),
        ;
        private final int code;
        private final String message;

        OperateType(int code, String message) {
            this.code = code;
            this.message = message;
        }

        public static OperateType fromCode(int code) {
            for (OperateType type : OperateType.values()) {
                if (code == type.code) {
                    return type;
                }
            }
            return null;
        }

        public int getCode() {
            return code;
        }

        public String getMessage() {
            return message;
        }
    }

    /**
     * 审批状态
     */
    public enum TaskStatus {
        IN_APPROVAL(1, "审批中"),
        APPROVED(2, "审批通过"),
        REJECTED(3, "审批驳回"),
        REVOKED(4, "撤销审批"),
        ;
        private final int code;
        private final String message;

        TaskStatus(int code, String message) {
            this.code = code;
            this.message = message;
        }

        public static TaskStatus fromCode(int code) {
            for (TaskStatus type : TaskStatus.values()) {
                if (code == type.code) {
                    return type;
                }
            }
            return null;
        }

        public int getCode() {
            return code;
        }

        public String getMessage() {
            return message;
        }
    }

    /**
     * 业务执行状态
     */
    public enum BizStatus {
        TOBE_AUDITED(1, "待执行"),
        AUDITED(2, "已执行"),
        ;
        private final int code;
        private final String message;

        BizStatus(int code, String message) {
            this.code = code;
            this.message = message;
        }

        public static BizStatus fromCode(int code) {
            for (BizStatus type : BizStatus.values()) {
                if (code == type.code) {
                    return type;
                }
            }
            return null;
        }

        public int getCode() {
            return code;
        }

        public String getMessage() {
            return message;
        }
    }

    /**
     * 业务执行结果
     */
    public enum BizResult {
        UNDO(0, "未执行"),
        SUCCESS(1, "成功"),
        FAIL(2, "失败"),
        ;
        private final int code;
        private final String message;

        BizResult(int code, String message) {
            this.code = code;
            this.message = message;
        }

        public static BizResult fromCode(int code) {
            for (BizResult type : BizResult.values()) {
                if (code == type.code) {
                    return type;
                }
            }
            return null;
        }

        public int getCode() {
            return code;
        }

        public String getMessage() {
            return message;
        }
    }

    /**
     * 特殊应用配置异常信息
     */
    public enum ExceptionMsg {
        MI_BPM_SEND_ERROR(1, "发送小米审批失败"),
        SAME_ACTION(2, "请勿重复操作，已有审批流待审批"),
        UNKNOWN_SYSTEM_TYPE(3, "未知系统类型"),

        ;
        private final int code;
        private final String message;

        ExceptionMsg(int code, String message) {
            this.code = code;
            this.message = message;
        }

        public static ExceptionMsg fromCode(int code) {
            for (ExceptionMsg type : ExceptionMsg.values()) {
                if (code == type.code) {
                    return type;
                }
            }
            return null;
        }

        public int getCode() {
            return code;
        }

        public String getMessage() {
            return message;
        }

        public static boolean isContainMessage(String message){
            for (ExceptionMsg exceptionMsg : ExceptionMsg.values()) {
                if (exceptionMsg.message.equals(message)) {
                    return true;
                }
            }
            return false;
        }
    }

}
